using SinceUnity.LobbyNetwork;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;

public class BattleUI : MonoBehaviour
{
	public TMP_Text Txt_CurNum;

	public Text UIHostOrClient;

	void Update()
	{
		if (Battle.Instance.NowLevel)
		    Txt_CurNum.text = Battle.Instance.NowLevel.CurNum.ToString();

		if(UIHostOrClient!=null)
		{
            UIHostOrClient.text = SinceUnity.LobbyNetwork.NetworkPlayer.ISClient?"Client":"Host";
		}
	}
}
